package com.mostromas.ess.inventory.req;

import com.mostromas.ess.entities.StockIn;
import com.mostromas.ess.util.base.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 入库单查询条件
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "StockInREQ查询条件对象",description = "入库单查询条件")
public class StockInREQ extends BaseRequest<StockIn> {

    @ApiModelProperty(value = "入库单ID")
    private String id;

    @ApiModelProperty(value = "所属仓库ID")
    private String warehouseId;

    @ApiModelProperty(value = "款号")
    private String productNumber;

    @ApiModelProperty(value = "审批状态 0未审核 1已审核")
    private Integer state;

    // @JsonFormat(pattern = "yyyy-MM-dd")
    // @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "开始时间 yyyy-MM-dd")
    private String startDate;

    // @JsonFormat(pattern = "yyyy-MM-dd")
    // @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "结束时间 yyyy-MM-dd")
    private String endDate;
}
